package com.hongyi.vo;

import com.hongyi.pojo.Order;
import com.hongyi.pojo.User;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: hongyi
 * @CreateTime: 2024-08-28
 */

/**
 *  多对一关系
 */
@Data
public class OrderVo {
	private Integer id;
	private Date orderTime;
	private double total;
	private Integer userId;
	private User user;

}


//@Data
//public class UserVo {
//	private Integer id;
//	private Date orderTime;
//	private double total;
//
//	private List<Order> orders;
//
//}
